package cn.yunhe.entity;

import java.io.Serializable;

/**
 * Created by Administrator on 2018/5/22.
 */
public class School implements Serializable {
    private int school_id;
    private String school_name;
    private String phone;
    private String pwd;
    private String address;
    private String img_href;
    private int state;
    private String email;
    private String name;
    private int online_state;
    private Role role;

    public School() {
        super();
    }

    public School(int school_id, String school_name, String phone, String pwd, String address, String img_href, int state, String email, String name, int online_state, Role role) {
        this.school_id = school_id;
        this.school_name = school_name;
        this.phone = phone;
        this.pwd = pwd;
        this.address = address;
        this.img_href = img_href;
        this.state = state;
        this.email = email;
        this.name = name;
        this.online_state = online_state;
        this.role = role;
    }

    public int getSchool_id() {
        return school_id;
    }

    public void setSchool_id(int school_id) {
        this.school_id = school_id;
    }

    public String getSchool_name() {
        return school_name;
    }

    public void setSchool_name(String school_name) {
        this.school_name = school_name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getImg_href() {
        return img_href;
    }

    public void setImg_href(String img_href) {
        this.img_href = img_href;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getOnline_state() {
        return online_state;
    }

    public void setOnline_state(int online_state) {
        this.online_state = online_state;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    @Override
    public String toString() {
        return "School{" +
                "address='" + address + '\'' +
                ", school_id=" + school_id +
                ", school_name='" + school_name + '\'' +
                ", phone='" + phone + '\'' +
                ", pwd='" + pwd + '\'' +
                ", img_href='" + img_href + '\'' +
                ", state=" + state +
                ", email='" + email + '\'' +
                ", name='" + name + '\'' +
                ", online_state=" + online_state +
                ", role=" + role +
                '}';
    }
}
